package com.lzxuni.service;

import com.lzxuni.mapper.CreateTableMapper;
import com.lzxuni.po.CreateTable;
import com.lzxuni.po.QxData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("cerateTable")
public class CreateTableServiceImpl implements CreateTableService {

    @Autowired
    private CreateTableMapper createTableMapper ;

    @Override
    public List<QxData> findList() {
        return createTableMapper.findList();
    }

    @Override
    public void createTable(CreateTable createTable) {
        createTableMapper.createTable(createTable);
    }

    @Override
    public void addQxDate(CreateTable createTable) {

    }

    @Override
    public void addTableName(CreateTable createTable) {
        createTableMapper.addTableName(createTable);
    }

    @Override
    public List<CreateTable> findCreateTable(String tableName) {
        return createTableMapper.findCreateTable(tableName);
    }
}
